home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / sendmail.8.8.4.tar.gz / sendmail.8.8.4.tar / sendmail-8.8.4 / mail.local / Makefile.dist < prev    next >
Makefile  |  1996-09-25  |  783b  |  37 lines

  1. #    @(#)Makefile.dist    8.3 (Berkeley) 9/25/96
  2.  
  3. BINDIR=    ${DESTDIR}/usr/lib
  4. BINOWN=    root
  5. BINMODE=4555
  6.  
  7. # For Solaris, uncomment one of the CC= lines and the LIBS= line
  8. #CC=    cc -Xc
  9. #CC=    gcc
  10. #LIBS=    -lsocket -lnsl
  11.  
  12. # Which *roff program has -mandoc support
  13. NROFF=    groff -Tascii
  14. #NROFF=    nroff -h
  15. MANDOC=    -mandoc
  16.  
  17. ALL=    mail.local mail.local.0
  18.  
  19. all: ${ALL}
  20.  
  21. mail.local: mail.local.c
  22.     ${CC} -O -o mail.local mail.local.c ${LIBS}
  23.  
  24. mail.local.0: mail.local.8
  25.     ${NROFF} ${MANDOC} mail.local.8 > mail.local.0
  26.  
  27. install: install-mail.local install-docs
  28.  
  29. install-mail.local: mail.local
  30.     install -s -o ${BINOWN} -m ${BINMODE} mail.local ${BINDIR}
  31.  
  32. # doesn't actually install them -- you may want to install pre-nroff versions
  33. install-docs: mail.local.0
  34.  
  35. clean:
  36.     rm -f mail.local core a.out mail.local.0
  37.